#pragma once

#include "ProcessControl.h"
#include "RAllocater.h"
#include "RMemReadWrite.h"
#include "RLoadControl.h"

class LoadServerContrl
{
public:
	~LoadServerContrl() { };
	virtual BOOL Load(caIProcCtrl* rcon)=0;
};

class LoadServerContrlByDll : public LoadServerContrl
{
	caIRMemAllocater* m_allocater;
	caIRMemReadWrite* m_rw;
	caIRThreadCall* m_caller;
public:
	LoadServerContrlByDll();
	virtual ~LoadServerContrlByDll();

	LoadServerContrlByDll(caIRMemAllocater* allocater,caIRMemReadWrite* rw,caIRThreadCall* caller);

	virtual BOOL Load(caIProcCtrl* rcon);

protected:
	virtual InitParam()

};